BASE64 encoding algorithm of Android Data encryption preface:In front of the study summed up the usual development encountered in various data encryption methods, the end will be encrypted binary data Base64 encoding, play a two times the effect of
Objective:In front of the study summed up the usual development encountered in various data encryption methods, the end will be encrypted binary data Base64 encoding, play a two times the effect of encryption, in fact, Base64 from the strict sense
The previous study summed up the usual development of the various data encryption methods, the final will be encrypted binary data for BASE64 encoding, played a two times encryption effect, in fact, Base64 from the strict sense is not a
Chapter 2: Base64, URLBase64, and base64urlbase64
2.1 Basic algorithm rules:
Public encryption algorithms
The encrypted key is not public.
The features of Base64 algorithm disclosure and Key Disclosure do not comply with basic algorithm rules,
Brief introductionFeatures: RFC 3548:base16, BASE32, Base64 data encoding. Converts the binary data to an ASCII sequence that is suitable for plaintext protocol transmission. Transformation8bits contains valid data for 6, 5, or 4bits for each byte,
Java one-Way encryption algorithm Summary (1)--base64 algorithmStarting with the simplest of the most common cryptographic algorithms and demos used in Java, start with this article.Easy to understandBase64 is not strictly a cryptographic algorithm,
Statement: This article is intended for technical exchanges and is not intended for the "square" (the new version of the square educational administration system password processing method has also changed, just use this as an introduction ......)!
BASE64 encoding is a commonly used character encoding and is used in many places. The JDK provides easy-to-use Base64encoder and Base64decoder, which makes it easy to complete BASE64-based encoding and decoding. Here are the two small functions I
I. Brief description
MD5: All called message digest algorithm 5 (Information digest algorithm), can be encrypted, but not decrypted, belong to one-way encryption, usually used for file verification
BASE64: The 8-bit byte of any sequence is
What is base64?
According to rfc2045, base64 is defined as base64 content Transfer Encoding. It is designed to describe the 8-bit bytes of any sequence as a form that is not easily recognized by people. (The base64 content-transfer-encoding is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.